public class Test {
    public static void main(String[] args) {
        DecodeString d = new DecodeString();
        String s = "2[2[y]pq4[2[jk]e1[f]]]ef";
        d.decodeString(s);
    }
}
